package com.yyt2021;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.stereotype.Component;

@SpringBootApplication
@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class }) // 禁用数据源自动配置
@MapperScan("com.**.mapper")
public class CommonSpringApplication {

	public static void main(String[] args) {
		SpringApplication.run(CommonSpringApplication.class, args);
	}
}
